package com.xiaoshuidi.cloud.module.rooms.api.roomstate.vo;

import com.xiaoshuidi.cloud.module.rooms.api.roomstate.dto.RoomTenantsInfoDTO;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import javax.validation.constraints.NotNull;

@Data
@Schema(description = "修改租住人/同住人信息请求对象")
public class UpdateRoomTenantReqVO {

    @NotNull(message = "房源id不能为空")
    @Schema(description = "房源id")
    private Long roomId;

    @Schema(description = "租客信息")
    private RoomTenantsInfoDTO roomTenantsInfo;
}
